import { useCookies } from "@vueuse/integrations/useCookies";
const cookie = useCookies();
const keyToken = "admin-token"

/**获取token */
export function getToken(){
    return cookie.get(keyToken);
}

/**设置token */
export function setToken(token){
    return cookie.set(keyToken,token);
}

/**移除token */
export function removeToken(){
    return cookie.remove(keyToken)
}